	.arch armv8-a
	.file	"call-ret.c"
	.text
	.align	2
	.global	bar
	.type	bar, %function
bar:
	mov	w0, 2
	ret
	.size	bar, .-bar
	.align	2
	.global	sum
	.type	sum, %function
sum:
	sub	sp, sp, #16
	str	w0, [sp, 12]
	str	w1, [sp, 8]
	ldr	w1, [sp, 12]
	ldr	w0, [sp, 8]
	add	w0, w1, w0
	add	sp, sp, 16
	ret
	.size	sum, .-sum
	.section	.rodata
	.align	3
.LC0:
	.string	"bar = %d\n"
	.align	3
.LC1:
	.string	"sum(1,2) = %d\n"
	.text
	.align	2
	.global	main
	.type	main, %function
main:
	stp	x29, x30, [sp, -48]!
	mov	x29, sp
	str	w0, [sp, 28]
	str	x1, [sp, 16]
	bl	bar
	str	w0, [sp, 44]
	ldr	w1, [sp, 44]
	adrp	x0, .LC0
	add	x0, x0, :lo12:.LC0
	bl	printf
	mov	w1, 2
	mov	w0, 1
	bl	sum
	str	w0, [sp, 44]
	ldr	w1, [sp, 44]
	adrp	x0, .LC1
	add	x0, x0, :lo12:.LC1
	bl	printf
	mov	w0, 0
	ldp	x29, x30, [sp], 48
	ret
	.size	main, .-main
	.ident	"GCC: (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0"
